<template>
  <div>
    <!-- 标题 -->
    <div class="title">
        <img src="../../../assets/images/tool.png" alt="">
        <span>安全管理信息</span>
    </div>

    <!-- 内容 -->
    <div class="dataList">
      <el-form ref="form" :model="form" label-width="auto">
        <el-form-item label="安全标准化等级">
              <el-select v-model="form.region" placeholder="请选择">
                <el-option label="一级" value="shanghai"></el-option>
                <el-option label="二级" value="beijing"></el-option>
              </el-select>
        </el-form-item>
        <!-- 日期 -->
        <el-row> 
          <el-col :span="12">
            <el-form-item label="安全生产许可证有效期起始日期">
              <el-date-picker
                v-model="value1"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="安全生产许可证有效期终止日期">
              <el-date-picker
                v-model="value1"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </el-col>  
        </el-row>
        <el-row> 
          <el-col :span="12">
            <el-form-item label="标准化证书有效期起始日期">
              <el-date-picker
                v-model="value1"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </el-col> 
          <el-col :span="12">
            <el-form-item label="标准化证书有效期终止日期">
              <el-date-picker
                v-model="value1"
                type="date"
                placeholder="选择日期">
              </el-date-picker>
            </el-form-item>
          </el-col>  
        </el-row>
        
        <!-- 下一步按钮 -->
        <el-form-item class="middle">
            <el-button type="primary" @click="onSubmit" plain>保存</el-button>
            <el-button type="primary" @click="nextTo">下一步</el-button>
        </el-form-item>

      </el-form>
    </div>

  </div>
</template>

<script>
export default {
  data(){
    return{
      form: {
        region: '',
      },
      value1: '',

      
    }
  },
  methods: {
      nextTo(){
        this.$parent.next();
      }
  }
}
</script>

<style lang="scss" scoped>
.title{
  display: flex;
  padding: 14px;
  border-bottom: 1px solid #D3D3D3;
  span{
    margin-left: 10px;
  }
}

.dataList{
  padding: 20px;
}

.middle{
  display: flex;
  justify-content: center;
}

</style>